IF EXISTS ( SELECT  *
            FROM    dbo.sysobjects
            WHERE   id = OBJECT_ID(N'CGO_EventCharity')
                    AND OBJECTPROPERTY(id, N'IsTable') = 1 ) 
  BEGIN
    DROP TABLE dbo.CGO_EventCharity
  END
  
CREATE TABLE [dbo].[CGO_EventCharity]
(
[PortalID] [int] NOT NULL,
[EventID] [int] NOT NULL,
[CharityID] [int] NOT NULL,
)
GO